package com.chinatsp.onlineapp.base;

/**
 * 配置文件
 */

public class Config {

	/**
	 * 网络请求URL
	 */
	public static final String API_NEWS_LIST = "soa/news/channel/";
	public static final String API_NEWS_TITLE = "soa/news/list/";
	public static final String API_NEWS_DETAIL = "soa/news/info/";
	public static final String API_QUERY_VIOLATION = "soa/peccancy/checkvehno/";
	public static final String API_NEWS_MESSAGE = "soa/news/info/";
	public static final String API_TERMINAL_ACTIVATE = "/sn/";
	public static final String API_UPDATE_THE_ACCESS_TOKEN_TERMINAL = "replace/token/";
	public static final String API_WEATHER_SERVICE = "soa/weather/info/";
	public static final String API_QUERY_FORECAST_CITY_LIST = "soa/weather/citylist/";
	public static final String API_GET_HOT_CITY = "soa/weather/hotcitylist/";
	public static final String API_REVERS_GEOCODE = "reverse/geocode/";
	public static final String API_QUERY_VIOLATION_LOG = "soa/peccancy/query/";
	public static final String API_LIMIT_NUM = "soa/limit/vehno/";
	public static final String API_LIMIT_RULE = "";
	public static final String API_QUERY_ALL_CITY_LIST = "soa/weather/citylist/";
	/**
	 * 网络请求顺序号
	 */
	public static final int CODE_NEWS_LIST = 0;
	public static final int CODE_WEATHER_SERVICE = 1;
	public static final int CODE_LIMIT_NUM = 2;
	public static final int CODE_REVERS_GEOCODE = 3;

	public static final int CODE_NEWS_TITLE = 4;
	public static final int CODE_NEWS_DETAIL = 5;
	public static final int CODE_QUERY_VIOLATION = 6;
	public static final int CODE_NEWS_MESSAGE = 7;
	public static final int CODE_TERMINAL_ACTIVATE = 8;
	public static final int CODE_UPDATE_THE_ACCESS_TOKEN_TERMINAL = 9;
	public static final int CODE_QUERY_FORECAST_CITY_LIST = 10;
	public static final int CODE_GET_HOT_CITY = 11;
	public static final int CODE_QUERY_VIOLATION_LOG = 12;
	public static final int CODE_LIMIT_RULE = 13;
	
	public static final int CODE_GET_HOST_PARAMS = 14;
	public static final int CODE_GET_HOST_ACTIVE = 15;
	public static final int CODE_GET_REPLACE_TOKEN = 16;
	public static final int CODE_GET_ALL_CITY = 17;

	/**
	 * 天气状态
	 */
	public static final String WEATHER_SUNNY = "01"; // 晴天
	public static final String WEATHER_CLOUDY = "02"; // 多云
	public static final String WEATHER_OVERCAST = "03"; // 阴
	
	public static final String WEATHER_THUNDER_RAIN = "05"; // 雷阵雨
	public static final String WEATHER_HAIL_RAIN = "06"; // 雷阵雨并伴有冰雹		
	public static final String WEATHER_RAIN_SNOW = "07"; // 雨夹雪	
	public static final String WEATHER_LIGHT_RAIN = "08";  // 小雨
	public static final String WEATHER_MODETATE_RAIN = "09"; //中雨 
	public static final String WEATHER_HARD_RAIN = "10"; // 大雨
	public static final String WEATHER_HEAVY_RAIN = "11"; // 暴雨
	
	public static final String WEATHER_SNOW = "14"; // 阵雪
	public static final String WEATHER_LIGHT_SNOW = "15"; // 小雪
	public static final String WEATHER_MODERATE_SNOW = "16"; //　中雪
	public static final String WEATHER_HARD_SNOW = "17"; // 大雪
	public static final String WEATHER_HEAVY_SNOW = "18"; // 暴雪
	public static final String WEATHER_FOG = "19"; // 雾
	public static final String WEATHER_FOG_HAZE = "19"; // 雾霾
	
	public static final String WEATHER_SAND_STORM = "21"; // 沙尘暴
	
	public static final String WEATHER_RAISE_DUST = "23"; // 扬沙
	

	
	
	/**
	 * 服务数据刷新时间
	 */
	public static final int NET_CD_TIME = 1*60*1000;
}
